﻿using BootstrapBlazor.Components;
using BPM.Web.Shared.Data;
using WebApiClientCore.Parameters;

namespace BPM.Web.Shared.Service
{
    public interface ISysFileService
    {
        Task<bool> DeleteAsync(IEnumerable<FileOutput> input);
        Task<SysFile?> DetailAsync(QueryFileInfoInput input);
        Task<HttpResponseMessage> DownloadAsync(QueryFileInfoInput input);
        Task<List<SysFile>?> ListAsync(FileOutput input);
        Task<QueryData<FileOutput>> PageAsync(FilePageInput input);
        Task<HttpResponseMessage> PreviewAsync(QueryFileInfoInput input);
        Task<long> UploadAsync(FormDataFile input);
        Task<long> UploadAvatarAsync(FormDataFile input);
        Task<string?> UploadDocumentAsync(FormDataFile input);
        Task<string?> UploadShopAsync(FormDataFile input);
    }
}